What is formula of epsom salt?

The formula of Epsom salt is MgSO4·7H2O, which means it contains magnesium sulfate and seven water molecules. The chemical name of Epsom salt is magnesium sulfate heptahydrate, and it has a molecular weight of 246.48 g/mol. Epsom salt is commonly used in bath salts, foot soaks, and as a natural remedy for muscles aches, pain, and inflammation. It can also be used as a fertilizer for plants that require magnesium sulfate. Epsom salt is usually found in white crystalline form and is odorless.